<%-- 
    Document   : ThanhPhoEditContent
    Created on : Oct 31, 2011, 3:36:09 PM
    Author     : Admin
--%>

<%@page import="java.util.List"%>
<%@page import="model.pojo.Thanhpho"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
    List<Thanhpho> dstp = (List<Thanhpho>) request.getAttribute("thanhphoid");
    Thanhpho tp = dstp.get(0);

%>
<form id="frmThanhPho" name="frmThanhPho" method="post" action="ThanhPhoController?Action=EditThanhPho&id=<%=tp.getId()%>">
    <table width="550" border="0" align="center">
        <tr align="center">
            <td width="30">Mã</td>
            <td width="120">Tên Thành Phố</td>
            <td width="70">Bắt Đầu</td>
            <td width="120">Ngày Tạo</td>
            <td width="42">Thêm</td>
            <td width="48">Cập Nhật</td>
        </tr>

        <tr align="center">
            <td><input name="txtID" type="text" class="fakefile" style="height:15px;width:12px;" value="<%=tp.getId()%> " /></td>
            <td><input name="txtTenThanhPho" type="text" class="fakefile" style="height:15px;width:120px;" value="<%=tp.getTenThanhPho()%>" /></td>
            <td><input name="txtBatDau" type="text" class="fakefile" style="height:15px;width:20px;" value="<%=tp.getDaBat()%> " /></td>
            <td><input name="txtNgayTao" type="text" class="fakefile" style="height:15px;width:150px;" value="<%=tp.getNgayTao()%> " /></td>
          
            <td><input type="submit"  name="txtThem" value="Thêm"></input></td>
            <td><input type="submit" name="txtCapNhat" value="Cập Nhật"></input></td>
        </tr>

    </table>
</form>